import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)


const getters = {

}

const state = {
  showwho: localStorage.getItem("showwho")?JSON.parse(localStorage.getItem("showwho")) : '',
  one:true
}

const mutations = {
  changeshowwho:function(state,val){
    state.showwho = val
    localStorage.setItem("showwho", JSON.stringify(val))
  },
  changeone:function(state,val){
    state.one = val
  },

}

const actions = {

}


export default new Vuex.Store({
	actions,mutations,getters,state
})
